package com.nmgs.entity;

import java.util.HashMap;
import java.util.Map;

public class Replayentity {
    int code;
    String codemessage;
    String token;
    Object data;
    public Replayentity(int code, String codemessage) {
        this.code = code;
        this.codemessage = codemessage;
    }
    public Replayentity() {
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getCodemessage() {
        return codemessage;
    }

    public void setCodemessage(String codemessage) {
        this.codemessage = codemessage;
    }

    public Map get_reply()
    {

        Map map=new HashMap();
        map.put("code",this.code);
        map.put("codemessage",this.codemessage);
        map.put("token",this.token);
        map.put("data",data);
        return  map;
    }
}
